// 添加路由
import TeamPage from "../pages/TeamPage.vue";
import IndexPage from "../pages/IndexPage.vue";
import UserPage from "../pages/UserPage.vue";
import SearchPage from "../pages/SearchPage.vue";
import UserEditPage from "../pages/UserEditPage.vue";
import SearchUserResult from "../pages/SearchUserResult.vue";
import UserLoginPage from "../pages/UserLoginPage.vue";
import TeamCreatePage from "../pages/TeamCreatePage.vue";
import UserTeamPage from "../pages/UserTeamPage.vue";
import UserCreatePage from "../pages/UserCreatePage.vue";


const route = [
    {path: '/', title: '云交友', component: IndexPage},
    {path: '/team', title: '搜索队伍', component: TeamPage},
    {path: '/team/create',title: '创建队伍',  component: TeamCreatePage},
    {path: '/user',title: '个人信息',  component: UserPage},
    {path: '/search',title: '标签搜索', component: SearchPage},
    {path: '/user/edit', title: '用户编辑',component: UserEditPage},
    {path: '/user/search',title: '用户列表', component: SearchUserResult},
    {path: '/user/login',title: '云交友-登录', component: UserLoginPage},
    {path: '/user/team', title: '用户队伍',component: UserTeamPage},
    {path: '/user/register', title: '用户新增',component: UserCreatePage}
]

export default route;